package voice;

import java.util.Scanner;

/**
 * Implements The stopping of recording text
 * @author Alexandre, Cristovao, Raul, Rodolpho, Tales
 * @version 1.1
 * @milestone Number 2
 */
public class StopRecordingText implements StopRecordingIF{
	
	/**
	 * Shows the action
	 * @return 1
	 */
	public int showAction(){
		
		Scanner sc = new Scanner(System.in);
		String word = "";
		while (!word.equals("p")){
			System.out.println("Digite 'p' para parar a gravacao.");
			word = sc.nextLine();
		}
		return 1;
	}

}
